home *** CD-ROM | disk | FTP | other *** search
/ Macintosh Programmer's Tool Box Assistant / Macintosh Programmer's Tool Box Assistant.iso / Goodies / Toolbox Asst. Tools for MPW / Read Me - MPTA for MPW < prev    next >
Encoding:
Text File  |  1995-01-12  |  2.7 KB  |  70 lines  |  [TEXT/MPS ]

  1.         -------------------------------------------------------
  2.         MPW Access for Macintosh Programmer’s Toolbox Assistant
  3.         ------------------------------------------------------- 
  4.  
  5. About MPW Access for Macintosh Toolbox Assistant
  6. ------------------------------------------------
  7. The scripts in this folder allow you to access Macintosh Programmer’s
  8. Toolbox Assistant information from the MPW Shell. Using these scripts, 
  9. you can look up any term in the Macintosh Programmer’s Toolbox Assistant
  10. databases or retrieve the template for a function call.
  11.  
  12.  
  13. Installing MPW Access for Macintosh Programmer’s Toolbox Assistant
  14. ------------------------------------------------------------------
  15. The folder that contains this file should also contain three
  16. other files:
  17.  
  18.     • A "UserStartup•MPTA" MPW script
  19.     • A "MPTA_MPWAccess" MPW script
  20.     • A "SendAE" MPW tool    
  21.  
  22. To install these files, take the following steps:
  23.  
  24. 1.    Quit the MPW Shell if is currently running.
  25.  
  26. 2.    Drag the "UserStartup•MPTA" file into the same folder
  27.     as the MPW Shell.
  28.     
  29. 3.    Drag the "MPTA_MPWAccess" file into the {MPW}Scripts
  30.     folder.
  31.     
  32. 4.    Drag the "SendAE" file into the {MPW}Tools folder.
  33.  
  34. 5.    Start up the MPW Shell. During the startup process, you will
  35.     see a Standard File dialog box asking you for the location
  36.     of the QuickView browser. (QuickView is the search and
  37.     display engine for Macintosh Programmer’s Toolbox Assistant.)
  38.     Locate QuickView and click the "Here It Is" button. The
  39.     location will be stored in a file called "MPTA_FullPathName"
  40.     for use during subsequent MPW startups.
  41.     
  42. 6.    When the startup script finishes, it will have installed
  43.     a new menu called "MPTA". That menu contains two commands,
  44.     "Look up" and "Template".
  45.     
  46. 7.    As a test, type "NewWindow" on the MPW worksheet, highlight 
  47.     just the word "NewWindow", and select the "Look up" item in 
  48.     the MPTA Menu. MPW will send an Apple Event to the QuickView
  49.     application, which will open and bring the page for the 
  50.     NewWindow toolbox call to the front.
  51.     
  52. 8.    To test the template retrieval, type another toolbox call
  53.     into the worksheet (for example "NewCWindow"), highlight
  54.     the call name, and select the "Template" item on the
  55.     MPTA Menu. The template for the function call will be
  56.     retrieved and will replace the current selection.
  57.     
  58. That’s it! Subsequent startups of MPW will automatically use
  59. the QuickView application that you selected, and the "Look up"
  60. and "Template" functions will automatically be available.
  61.  
  62. There is one more thing you need to be aware of:
  63.  
  64. 1.    If you move the QuickView application from its original
  65.     location, MPW will be unable to find it. Throw away the file
  66.     "MPTA_FullPathName" in the MPW directory, relaunch the
  67.     MPW Shell, and you will again be prompted to locate QuickView.
  68.     After you locate it, everything will work again.
  69.  
  70.